import requests
headers ={
    'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36'
}
url = 'https://m804.music.126.net/20240908170528/a33c300d68ca404f2470fbeb528cf072/jdyyaac/obj/w5rDlsOJwrLDjj7CmsOj/14096465496/87a5/293f/0232/e92afe1e3b6b5c7077bb71258a033fe9.m4a?authSecret=00000191d0caab0200150a3b1889068f'
response = requests.get(url=url,headers=headers)

with open('喜喜.m4a', 'wb') as f:
    print(len(response.content))
    print('开始写入')
    f.write(response.content)
    print('写入完成')
